package com.chenfan.finance.dao;

import com.chenfan.finance.model.TocStockinOrderDetail;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface TocStockinOrderDetailMapper {
    /**
     * 插入
     * @param record
     * @return
     */
    int insert(TocStockinOrderDetail record);

    /**
     * 批量插入
     * @param list
     * @param taskYearMonth
     * @return
     */
    int insertList(@Param("list") List<TocStockinOrderDetail> list , @Param("taskYearMonth") LocalDateTime taskYearMonth);

}
